package com.chen.conf;

import com.chen.entity.Klass;
import com.chen.entity.Student;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "school")
@Data
public class SchoolProperties {
    private String schoolName;
    private final List<Student> students;
}
